package com.cl.blog.web.manager;

import com.cl.blog.common.Result;
import com.cl.blog.service.BContentExamineService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.multipart.MultipartFile;

import javax.annotation.Resource;
import java.io.IOException;

/**
 * @Author 付
 * @Date 2024-03-23 12:08
 * @Version 1.0
 * @description
 * @since 1.0
 */
@RestController
@RequestMapping("/admin/document")
public class AdminDocumentController {

	@Resource
	BContentExamineService bContentExamineService;

	@PostMapping("/excel")
	public Result download() throws IOException {
		return Result.success(bContentExamineService.downLoad());
	}


}
